package com.brillilab.service.core.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.brillilab.domain.po.system.SystemConfig;

/**
 * <p>
 * 系统配置表 服务类
 * </p>
 *
 * @author zlb
 * @since 2019-10-09
 */
public interface ISystemConfigService extends IService<SystemConfig> {

    SystemConfig insert(SystemConfig entity);

    boolean deleteById(Long id);

    boolean updateById(SystemConfig entity);

    SystemConfig selectById(Long id);

    SystemConfig selectByCode(String code);

    /**
     * 检测邮箱是否为学术结构邮箱
     *
     * @param email
     * @return
     */
    boolean checkEmailFormat(String email);

}